package cn.swust.designpatternlearningplatform.service;

import cn.swust.designpatternlearningplatform.domain.entity.KnowledgePoint;

import java.util.List;

public interface TopicKnowledgePointService {

    /**
     * 获取子id
     * @param pointId
     * @return java.util.List<cn.swust.designpatternlearningplatform.domain.entity.KnowledgePoint>
     * @author Tang
     * @date 2023/4/16 2:34
    **/
    List<KnowledgePoint> getKnowledgePointSonId(Integer pointId);
    /**
     * 根据id获取知识点信息
     * @param id
     * @return cn.swust.designpatternlearningplatform.domain.entity.KnowledgePoint
     * @author Tang
     * @date 2023/4/16 2:35
    **/
    KnowledgePoint getKnowledgePointById(Integer id);

    /**
     * 根据知识点名字获取id
     * @param name
     * @return java.lang.Integer
     * @author Tang
     * @date 2023/7/8 13:23
    **/
    Integer getKnowledgeIdByName(String name);
}
